package com.zjj.lbw.designpattern.proxy.cglib;

/**
 * @author zhanglei.zjj
 * @description cglib代理客户端
 * @date 2023/7/13 23:23
 */
public class Client {
    public static void main(String[] args) {
        CglibProxy cglibProxy = new CglibProxy();
        CglibHelloClass  proxyInstance = (CglibHelloClass) cglibProxy.newProxyInstance(CglibHelloClass.class);
        proxyInstance.sayByeBye("子坚君");
    }
}
